/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.controller.model;

import net.groupme.model.Group;
import net.groupme.model.Resource;

/**
 * created on Jul 4, 2007
 * 
 * This class wraps GroupMe! resources as a SearchResult.
 * 
 * @author Fabian Abel, <a href="mailto:abel@l3s.de">abel@l3s.de</a>
 * @author last edited by: $Author: fabian $
 * 
 * @version $Revision: 1.1 $ $Date: 2007-07-04 17:55:10 $
 */
public class GroupMeSearchResult extends SearchResult {

	/** the {@link Resource} or {@link Group} instance  which is wrapped by this SearchResult. */
	private Resource resource = null;

	/**
	 * This method returns the resource of a GroupMeSearchResult object.
	 * @return the resource
	 */
	public Resource getResource() {
		return resource;
	}

	/**
	 * This method sets the resource of a GroupMeSearchResult object.
	 * @param resource the resource to set
	 */
	public void setResource(Resource resource) {
		this.resource = resource;
	}
}
